package com.shxy.rlzy.mapper;

import com.shxy.rlzy.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tanhao
 * @since 2021-08-16
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    /**
     * 根据角色查询
     * @param roleId
     * @return
     */
    List<RoleMenu> listByRoleId(Long roleId);
}
